'use strict';

const Controller = require('egg').Controller;

class LogoutController extends Controller {
  async index() {
    
    const { ctx } = this;
    ctx.cookies.set("name","")
    ctx.body ={
      msg:"退出登录",
      code:200,
    }
  }
}

module.exports = LogoutController;
